package aggregate.aggregator.remote;

import java.io.Serializable;
import java.sql.Timestamp;

public class Comment implements Serializable {
	private int id;
	private int contentId;
	private String author;
	private String subject;
	private String body;
	private Timestamp created; 

	public Comment(String body, String subject, String author) {
		this.body = body;
		this.subject = subject;
		this.author = author;
	}
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public int getContentId() {
		return contentId;
	}
	
	public void setContentId(int contentId) {
		this.contentId = contentId;
	}
	
	public String getAuthor() {
		return author;
	}
	
	public String getSubject() {
		return subject;
	}
	
	public String getBody() {
		return body;
	}
	
	public Timestamp getCreated() {
		return created;
	}
	
	public void setCreated(Timestamp created) {
		this.created = created;
	}
}
